<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<input type="hidden" id="totalPages" th:value="${dataMap['pages']}"/>
<input type="hidden" id="currentPage" th:value="${dataMap['pageNum']}"/>

<li id="no-data-li" th:if="${#maps.isEmpty(dataMap['list'])}">
    <section class="no-data__wrap">
        <em>&nbsp;</em>
        <p>亲，还没有人交作业哦~~~</p>
    </section>
</li>
<li class="card-header" th:if="!${#maps.isEmpty(dataMap['list'])}" th:each="task : ${dataMap['list']}">
    <div class="facebook-avatar mr5">
        <img class="wm-img list-block-userface" th:if="${#strings.isEmpty(task['user']['avatar'])}"  src="https://fimage.268xue.com/upload/0/yzl/common/2018101117/0ef206ca69971b0216a1b7f8dc529794_jpg/pc/large.jpg" width="42" height="42">
        <img class="wm-img list-block-userface" th:if="!${#strings.isEmpty(task['user']['avatar'])}" th:src="${task['user']['avatar']}" width="42" height="42">
    </div>
    <div class="facebook-name c-333" th:text="${task['user']['nickname']}">150****7112</div>
    <div class="facebook-date c-bbb">
        <!--<span th:text="${#dates.format(task['updateTime'],'yyyy-MM-dd HH:mm:ss')}">于2019-12-31 18:22</span>-->
        <span th:text="'于'+${#strings.substring(task['updateTime'],0,16)}">于2019-12-31 18:22</span>
        <span class="ml5">完成此作业</span>
    </div>
    <div class="pl75 ml5">
        <div class="fs7 c-666 mt5 cm-desc-txt__twoLine">
            <div class="pl75">
                <p th:text="'我花了'+${#numbers.formatDecimal(task['examTime']/60,1,0,'POINT')}+'分'+${task['examTime']}%60 +'秒分钟做完了作业，得了'+${task['userScore']}+'分，老师喊你快交作业了！'">我花了58分钟做完了作业，得了48分，老师喊你快交作业了！</p>
            </div>
        </div>
    </div>
    <!--<div class="card-footer">-->
        <!--<aside>-->
            <!--<span class="fs4 c-888">得分：</span>-->
            <!--<span class="fs8 c-red" th:if="${task['marked']}==2" th:text="${task['userScore']}">0</span>-->
            <!--<span class="fs6 c-red" th:if="${task['marked']}==1">[批阅中]</span>-->
        <!--</aside>-->
        <!--&lt;!&ndash;<aside>&ndash;&gt;-->
            <!--&lt;!&ndash;<span class="ml5 c-888"><em class="iconfont icon-xihuan"></em>&ndash;&gt;-->
                <!--&lt;!&ndash;<span class="vam fs7">1</span>&ndash;&gt;-->
            <!--&lt;!&ndash;</span>&ndash;&gt;-->
        <!--&lt;!&ndash;</aside>&ndash;&gt;-->
    <!--</div>-->
</li>



</html>